<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML>
<html>
<head>
<title>购物网</title>
<link href="${pageContext.request.contextPath }/css/basestyle.css" rel="stylesheet" type="text/css">
<link href="${pageContext.request.contextPath }/css/maintable.css" rel="stylesheet" type="text/css">
<style>
	.ok{
		color:blue;
		font-szie:13px;
		padding-left: 5px;
	}
	.error{
		color:red;
		font-size:13px;
	 	padding-left: 5px;
	}
</style>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.4.4.js"></script>

</head>
<body>
<div id="div_content">
 <%@ include file="../top_login.jsp" %>
 <form  method ="post" action="${pageContext.request.contextPath }/UserServlet?flag=edit" >	
 <table class="main_table">
	  <tr>
	    <td colspan="2" class="first_td"><img src="${pageContext.request.contextPath }/images/yonghuxinxi.png" /></td>   
	  </tr>
	   <tr>
	    <td class="desc_td" >登录名称：</td>   
	    <td>
	    	<input type="hidden" name="id" value="${user.id }" />
	    	<input type="text" name="memberNo" id="memberNo" value="${userInfo.memberNo }"   class="text_box" />
	    	<label class="info" id="loginName_msg" ></label>
	    </td>  
	  </tr>
	  
	   <tr>
	    <td class="desc_td" >登录密码：</td>   
	    <td>
	    	<input type="password" name="password"  value="${userInfo.password }" id="password"   class="text_box" />
	    	<label id="loginPwd_msg" ></label>
	    </td>  
	  </tr>
	  
	  <tr>
	    <td class="desc_td" >确认密码：</td>   
	    <td>
	    	<input type="password" name="reLoginPwd" id="reLoginPwd" value="${userInfo.password }"   class="text_box" />
	    	<label id="reLoginPwd_msg" ></label>
	    </td>  
	  </tr>
	  
	  <tr>
	    <td class="desc_td" >身份证号：</td>   
	    <td>
	    	<input type="text" name="idCard" id="idCard" value="${userInfo.idCard }" class="text_box" />
	    </td>  
	  </tr>
	  
	   <tr>
	    <td class="desc_td" >真实姓名：</td>   
	    <td>
	    	<input type="text" name="memberName" id="memberName" value="${userInfo.memberName }"    class="text_box" />
	    	<label id="trueName_msg" ></label>
	    </td>  
	  </tr>
	  
	  
	   <tr>
	    <td class="desc_td" >密码问题：</td>   
	    <td>
	    	  <select name="pwdQue">
				      <option value="小学学校名称">小学学校名称</option>
				      <option value="学校学号">学校学号</option>
				      <option value="母亲生日">母亲生日</option>
			  </select>
	    </td>  
	  </tr>
	  
	   <tr>
	    <td class="desc_td" >密码答案：</td>   
	    <td>
	    	<input type="text" name="pwdAnswer" value="${userInfo.pwdAnswer}" id="pwdAnswer" class="text_box" />
	    	<label id="pwdAnswer_msg" ></label>
	    </td>  
	  </tr>
	  
     <tr>
	    <td class="desc_td" >邮政编码：</td>   
	    <td>
	    	<input type="text" name="zipCode" id="zipCode"  value="${userInfo.zipCode }"   class="text_box"  />
	    	<label id="zipCode_msg" ></label>
	    </td>  
	  </tr>
	  
     <tr>
	    <td class="desc_td" >联系地址：</td>   
	    <td>
	    	<input type="text" name="address" value="${userInfo.address }" class="text_box"  />
	    </td>  
	  </tr>
	  
	  <tr>
	    <td class="desc_td" >电子邮箱：</td>   
	    <td>
	    	<input type="text" name="email" id="email" value="${userInfo.email }" class="text_box"  />
	    	<label id="email_msg" ></label>
	    </td>  
	  </tr>
	  
	  <tr>
	    <td class="desc_td" >联系电话：</td>   
	    <td>
	    	<input type="text" name="phone" id="phone" value="${userInfo.phone }"   class="text_box" />
	    	<label id="phone_msg" ></label>
	    </td>  
	  </tr>
	  
	  <tr>
	  
	 	 <td colspan="2" class="last_td">
	 	 	
	 	 	<input type="image" src="${pageContext.request.contextPath }/images/button_change.jpg" onclick="return confirm('确认提交吗')" >
	 	  
			<label class="info"> ${msg }</label>
	 	 </td>  
	 
	  </tr>
	 </table>
	
 </form>
 </div>
  
  <%@ include file="../bottom.jsp"%>
</body>
</html>
